package com.example5;

public class Test {
    static String str = "hello";
    public static void main(String[] args) {
        System.out.println(str);
        t2();
    }
    public void test() {
        System.out.println(str);
    }

    public static void tt() {
        //new的不是int，是数组，数组里放的类型是int
        int[] numbers = new int[10];
    }

    public static void t2() {
        //精度计算
        float t1 = 0.2F;
        float t2 = 0.1F;
        System.out.println(t1 + t2);

    }





}
